const Clutter = imports.gi.Clutter;

Clutter.init (null);
let stage = new Clutter.Stage();
let text = new Clutter.Text({ text: 'Hello World' });
stage.title = "Hello World";
stage.add_actor (text);
stage.show ();

stage.connect('enter-event', function(o, event) {
text.save_easing_state ();
text.set_easing_duration (1000);
text.set_easing_mode (30);
text.set_depth (-250);
text.restore_easing_state ();
});

Clutter.main ();